home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / zlanhp.z / zlanhp
Encoding:
Text File  |  2002-10-03  |  4.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ZZZZLLLLAAAANNNNHHHHPPPP((((3333SSSS))))                                                          ZZZZLLLLAAAANNNNHHHHPPPP((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZLANHP - return the value of the one norm, or the Frobenius norm, or the
  10.      infinity norm, or the element of largest absolute value of a complex
  11.      hermitian matrix A, supplied in packed form
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      DOUBLE PRECISION FUNCTION ZLANHP( NORM, UPLO, N, AP, WORK )
  15.  
  16.          CHARACTER    NORM, UPLO
  17.  
  18.          INTEGER      N
  19.  
  20.          DOUBLE       PRECISION WORK( * )
  21.  
  22.          COMPLEX*16   AP( * )
  23.  
  24. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  25.      These routines are part of the SCSL Scientific Library and can be loaded
  26.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  27.      directs the linker to use the multi-processor version of the library.
  28.  
  29.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  30.      4 bytes (32 bits). Another version of SCSL is available in which integers
  31.      are 8 bytes (64 bits).  This version allows the user access to larger
  32.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  33.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  34.      only one of the two versions; 4-byte integer and 8-byte integer library
  35.      calls cannot be mixed.
  36.  
  37. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  38.      ZLANHP returns the value of the one norm, or the Frobenius norm, or the
  39.      infinity norm, or the element of largest absolute value of a complex
  40.      hermitian matrix A, supplied in packed form.
  41.  
  42. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  43.      ZLANHP returns the value
  44.  
  45.         ZLANHP = ( max(abs(A(i,j))), NORM = 'M' or 'm'
  46.                  (
  47.                  ( norm1(A),         NORM = '1', 'O' or 'o'
  48.                  (
  49.                  ( normI(A),         NORM = 'I' or 'i'
  50.                  (
  51.                  ( normF(A),         NORM = 'F', 'f', 'E' or 'e'
  52.  
  53.      where  norm1  denotes the  one norm of a matrix (maximum column sum),
  54.      normI  denotes the  infinity norm  of a matrix  (maximum row sum) and
  55.      normF  denotes the  Frobenius norm of a matrix (square root of sum of
  56.      squares).  Note that  max(abs(A(i,j)))  is not a  matrix norm.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZLLLLAAAANNNNHHHHPPPP((((3333SSSS))))                                                          ZZZZLLLLAAAANNNNHHHHPPPP((((3333SSSS))))
  71.  
  72.  
  73.  
  74. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  75.      NORM    (input) CHARACTER*1
  76.              Specifies the value to be returned in ZLANHP as described above.
  77.  
  78.      UPLO    (input) CHARACTER*1
  79.              Specifies whether the upper or lower triangular part of the
  80.              hermitian matrix A is supplied.  = 'U':  Upper triangular part of
  81.              A is supplied
  82.              = 'L':  Lower triangular part of A is supplied
  83.  
  84.      N       (input) INTEGER
  85.              The order of the matrix A.  N >= 0.  When N = 0, ZLANHP is set to
  86.              zero.
  87.  
  88.      AP      (input) COMPLEX*16 array, dimension (N*(N+1)/2)
  89.              The upper or lower triangle of the hermitian matrix A, packed
  90.              columnwise in a linear array.  The j-th column of A is stored in
  91.              the array AP as follows:  if UPLO = 'U', AP(i + (j-1)*j/2) =
  92.              A(i,j) for 1<=i<=j; if UPLO = 'L', AP(i + (j-1)*(2n-j)/2) =
  93.              A(i,j) for j<=i<=n.  Note that the  imaginary parts of the
  94.              diagonal elements need not be set and are assumed to be zero.
  95.  
  96.      WORK    (workspace) DOUBLE PRECISION array, dimension (LWORK),
  97.              where LWORK >= N when NORM = 'I' or '1' or 'O'; otherwise, WORK
  98.              is not referenced.
  99.  
  100. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  101.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  102.  
  103.      This man page is available only online.
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.